import request from '@/utils/request'

// 查询司机认证列表
export function listDriverAudit(query) {
  return request({
    url: '/system/driverAudit/list',
    method: 'get',
    params: query
  })
}

// 查询司机认证详细
export function getDriverAudit(authenticId) {
  return request({
    url: '/system/driverAudit/' + authenticId,
    method: 'get'
  })
}

// 新增司机认证
export function addDriverAudit(data) {
  return request({
    url: '/system/driverAudit',
    method: 'post',
    data: data
  })
}

// 修改司机认证
export function updateDriverAudit(data) {
  return request({
    url: '/system/driverAudit',
    method: 'put',
    data: data
  })
}

// 删除司机认证
export function delDriverAudit(authenticId) {
  return request({
    url: '/system/driverAudit/' + authenticId,
    method: 'delete'
  })
}
